﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XUCore.Script
{
    /// <summary>
    /// Alias that maps one text to another text or series of texts
    /// </summary>
    class Alias
    {
        /// <summary>
        /// Name of the alias
        /// </summary>
        public string Name;


        /// <summary>
        /// Whether this alias is empty ( doesn't refer to anything ).
        /// </summary>
        public bool IsEmptyAlias;


        /// <summary>
        /// The actual text this alias refers to.
        /// </summary>
        public string Reference;


        /// <summary>
        /// The tokenized form of the reference.
        /// </summary>
        public List<TokenData> Tokens;
    }
}
